<html xmlns:th="http://www.thymeleaf.org"
	  xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<div th:fragment="leftlist">
<div id="smallDiv"
	style="width: 3%; background: red; float: left; display: none;" >
	<div style="text-align: center; height: 50px; padding-top: 7px;" class="green-g">
		<a href="#"><img th:src="@{/images/logo_1.png}" /></a>
	</div>
	<div class="list-left"
		style="width: 100%; background: rgb(34, 45, 50);">
		<div style="padding: 10px 0 20px 6px;">
			<img th:src="@{'/public/user/' + ${aoaUser.imgPath}}" style="width: 32px; height: 32px; border-radius: 50%;" />
		</div>
		<ul class="list-group" th:each="menu,iterStat : ${menus}" th:if="${menu.parentId == 0}">
			<li>
				<a th:href="@{menu.menuUrl}"><span class="glyphicon" th:classappend="${menu.menuIcon}"></span></a>
			</li>
		</ul>
	</div>
</div>
<!--把最顶上左侧的logo，栅格系统分2份-->
<div class="col-lg-2 col-md-2 smallDiv"
	style="padding: 0; margin: 0; display: block;">
	<div class="col-md-12 green-g">
		<a href="index" class="navbar-brand" style="padding: 8px 40px;">
			<img th:src="@{/images/logo.png}" />
		</a>
	</div>
	<div class="col-md-12 list-left" style="background: #222d32; height: 845px">
		<div class="user-panel">
			<div class="pull-left">
				<img th:src="@{'/public/user/' + ${aoaUser.imgPath}}" class="img-circle user-image-left" />
			</div>
			<div class="pull-left info">
				<p style="color: #fff; line-height: 1.5;">
					<span sec:authentication="name" ></span><br> <small>
					<span class="glyphicon glyphicon-record" style="color: #00a65a;">
					</span> 在线</small>
				</p>
			</div>
		</div>
		<div class="thistable">
			<div th:replace="common/leftmenus :: leftmenus"></div>
		</div>
	</div>
</div>
</div>
</html>
